<?php//cookie中获取要对比的车型车款if(Cookie::get('autoCompareId')) $autoIds = Cookie::get('autoCompareId');//获取各车款及属性//暂时只调取乘用车数据，商用车及房车对比功能后期开发//$modelInfos = AutoModel::detailByCarid(0,$autoIds);$modelFirst = __($modelInfos)->first();$modelType  = $modelFirst['modeltype'];$fd         = AutoModel::params($modelType);$fdGroup    = AutoModel::paramGroup($fd);$params     = AutoModel::formatParams($modelInfos);$modelIds   = array_keys($modelInfos);include template('compare', $module);?>